<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:p="http://primefaces.org/ui" xmlns:a="http://java.sun.com/jsf/html" xmlns:h="http://xmlns.jcp.org/jsf/html">    
  <h:head>
        <link rel="icon" href="images/favicon2.ico"/>
        <title>HomePage</title>
    
        <style type="text/css" media="screen">
        @import url('bootstrap.min.css');
        @import url('jumbotron.css');
        </style>
   <script src="script/ie-emulation-modes-warning.js"></script>
    
    </h:head>
    
  <h:body>
    <nav class="navbar navbar-inverse navbar-fixed-top" role="navigation">
      <div class="container">
        <div class="navbar-header">
          <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
            <span class="sr-only">Toggle navigation</span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
          </button>
          <a class="navbar-brand">MeteoCal</a>
        </div>
        <div id="navbar" class="navbar-collapse collapse">
            <h:form class="navbar-form navbar-right" role="form">
            <div class="form-group">
              <p:inputText placeholder="e-mail" id="username" class="form-control" value="#{loginBean.username}" required="true" />
            </div>
            <div class="form-group">
              <p:password placeholder="Password" id="pass" class="form-control" value="#{loginBean.password}" required="true" />
            </div>
            <div class="form-group">
                <a:commandButton class="btn btn-success" id="submit" action="#{loginBean.login()}" value="Login"/>            
            </div>
          </h:form>
        </div><!--/. btn btn-lg btn-primary btn-block -->
      </div>
    </nav>

    <!-- Main jumbotron for a primary marketing message or call to action -->
    <div class="jumbotron">
            
      <div class="container">
        <h1>MeteoCal!</h1>
        <p>Save and enjoy your events! Invite users to your events and share with them your travel! <br/> MeteoCal is your personal calendar with related notifications.</p>
        <p><a class="btn btn-primary btn-lg" href="register.xhtml" role="button">Register &raquo;</a></p>
      </div>
    </div>

    <div class="container">
      <!-- Example row of columns -->
      <div class="row">
        <div class="col-md-4">
            <img class="img-circle" src="images/snow.png" alt="Generic placeholder image" style="width: 140px; height: 140px;"/>
          <h2>Snowy</h2>
          <p>Enjoy your outdoor excursion with rain snow o sunny.</p>
        </div>
        <div class="col-md-4">
            <img class="img-circle" src="images/rain.png" alt="Generic placeholder image" style="width: 140px; height: 140px;"/>
          <h2>Rainy</h2>
          <p>It's Rainy? Meteocal will notify you about the weather conditions if your event is an outdoor event.</p>
       </div>
        <div class="col-md-4">
            <img class="img-circle" src="images/sun.png" alt="Generic placeholder image" style="width: 140px; height: 140px;"/>
          <h2>Sunny</h2>
          <p>Enjoy your sunny days!!</p>
        </div>
      </div>

      <hr/>

      <footer>
        <p>&copy; Company 2014</p>
      </footer>
    </div> <!-- /container -->


    <!-- Bootstrap core JavaScript
    ================================================== -->
    <!-- Placed at the end of the document so the pages load faster -->
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
    <script src="script/bootstrap.min.js"></script>
    <script src="script/ie10-viewport-bug-workaround.js"></script>
  </h:body>
</html>

      